-- GENERATED SPELL FOR [Splinterbone Centurion] --


function spell0_7346(pUnit, Event) --@Thunderclap,Self--
pUnit:FullCastSpellOnTarget(8078,pUnit)
pUnit:RegisterEvent('Sorts_7346', 10311, 1)
end

function Sorts_7346(pUnit, Event)
local choix_sorts_7346 = math.random(0, 0)
if choix_sorts_7346 == 0 then
pUnit:RegisterEvent('spell0_7346', 1, 1)
end
end

function mob7346_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7346', math.random(1500, 3000), 1)
end

function mob7346_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7346_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7346_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7346, 1, 'mob7346_Action')
RegisterUnitEvent(7346, 2, 'mob7346_Leave')
RegisterUnitEvent(7346, 3, 'mob7346_Kill')
RegisterUnitEvent(7346, 4, 'mob7346_Die')
